class LoginEntity {
  final int returnCode;
  final String data;
  final String returnMessage;
  final String loginToken;

  LoginEntity(this.returnCode, this.data, this.loginToken, this.returnMessage);

  LoginEntity.fromJson(Map<String, dynamic> json)
      : returnCode = json['returnCode'],
        data = json['data'],
        returnMessage = json['returnMessage'],
        loginToken = json['loginToken'];

  Map<String, dynamic> toJson() => <String, dynamic>{
        'returnCode': returnCode,
        'data': data,
        'returnMessage': returnMessage,
        'loginToken': loginToken,
      };
}
